import os

from spd_launcher.utils import PathUtils

def launch_game(version : str) -> None:
    game_path = PathUtils.link_work_path(".spd", "versions", version, f"{version}.jar")
    os.system(f"java -jar {game_path}")
    
if __name__ == "__main__":
    
    launch_game("3.2.5")